package com.ktg.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktg.ktgcommon.domain.mainData.MdWorkstation;
import com.ktg.ktgcommon.query.QueryWorkstation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkstationMapper {
    Page<MdWorkstation> selectPage(Page<MdWorkstation> page, @Param("queryWorkstation") QueryWorkstation queryWorkstation);

    MdWorkstation checkWorkstationById(Long workstationId);

    Integer changeMdWorkstation(MdWorkstation mdWorkstation);

    Integer addMdWorkstation(MdWorkstation mdWorkstation);

    Integer delWorkstation(Long workstationId);

    Integer delWorkstationIdArray(List<Long> arrayWorkstationId);
}
